Non-Transitory Computer-Readable Medium, Choice Selection Method, And Information Processing Device

ABSTRACT

A non-transitory computer-readable medium storing a software switch program for causing a display section to display a touch switch including a knob that is in a state in which the knob selects, of a first choice and a second choice that are in an exclusive relation, the first choice and a guide showing a moving path of the knob from the first choice to the second choice and including a first moving path extending along a first direction and a second moving path extending along a second direction different from the first direction and, when receiving first touch input operation for sliding one of the knob and the guide with respect to the other along the first moving path and second touch input operation for sliding the one of the knob and the guide along the second moving path, switching the state to a state in which the knob selects the second choice.

The present application is based on, and claims priority from JP Application Serial Number 2020-205766, filed Dec. 11, 2020, the disclosure of which is hereby incorporated by reference herein in its entirety.

BACKGROUND 1. Technical Field

The present disclosure relates to a non-transitory computer-readable medium, a choice selection method, and an information processing device.

2. Related Art

JP-UM-A-02-015284 (Patent Literature 1) discloses a teaching pendant for performing teaching work for an industrial robot and the like, the teaching pendant including a touch panel as a display section. When the display section is the touch panel, there has been widely known a method of displaying a touch switch on the display section and causing a user to touch the touch switch to control ON/OFF of a switch.

However, in such a method, it is likely that ON/OFF of the switch is unintentionally switched when the user touches the touch switch by some chance.

SUMMARY

A non-transitory computer-readable medium according to an aspect of the present disclosure stores a software switch program for: causing a display section to display a touch switch including a knob that is in a state in which the knob selects, of a first choice and a second choice that are in an exclusive relation, the first choice and a guide showing a moving path of the knob from the first choice to the second choice and including a first moving path extending along a first direction and a second moving path extending along a second direction different from the first direction; and, when receiving first touch input operation for sliding one of the knob and the guide with respect to another along the first moving path and second touch input operation for sliding the one of the knob and the guide along the second moving path, switching the state to a state in which the knob selects the second choice.

A choice selection method according to another aspect of the present disclosure includes: causing a display section to display a touch switch including a knob that is in a state in which the knob selects, of a first choice and a second choice that are in an exclusive relation, the first choice and a guide showing a moving path of the knob from the first choice to the second choice and including a first moving path extending along a first direction and a second moving path extending along a second direction different from the first direction; and, when receiving first touch input operation for sliding one of the knob and the guide with respect to another along the first moving path and second touch input operation for sliding the one of the knob and the guide along the second moving path, switching the state to a state in which the knob selects the second choice.

An information processing device according to still another aspect of the present disclosure is coupled to a robot, and includes a control device configured to display, on a display section, a touch switch including a knob that is in a state in which the knob selects, of a first choice and a second choice that are in an exclusive relation, the first choice and a guide showing a moving path of the knob from the first choice to the second choice and including a first moving path extending along a first direction and a second moving path extending along a second direction different from the first direction and, when receiving first touch input operation for sliding one of the knob and the guide with respect to another along the first moving path and second touch input operation for sliding the one of the knob and the guide along the second moving path, switch the state to a state in which the knob selects the second choice.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a diagram showing an overall configuration of a robot system in a first embodiment.

FIG. 2 is a diagram showing an example of a touch switch displayed on an information processing device.

FIG. 3 is a diagram showing an example of a touch switch displayed on the information processing device.

FIG. 4 is a diagram showing an example of a touch switch displayed on the information processing device.

FIG. 5 is a diagram showing an example of a touch switch displayed on the information processing device.

FIG. 6 is a diagram showing an example of a touch switch displayed on the information processing device.

FIG. 7 is a diagram showing an example of a touch switch displayed on the information processing device.

FIG. 8 is a diagram showing an example of a touch switch displayed on the information processing device.

FIG. 9 is a diagram showing an example of a touch switch displayed on the information processing device.

FIG. 10 is a diagram showing an example of a touch switch displayed on the information processing device.

FIG. 11 is a diagram showing an example of a touch switch displayed on the information processing device.

FIG. 12 is a diagram showing an example of a touch switch displayed on the information processing device.

FIG. 13 is a diagram showing an example of a touch switch displayed on the information processing device.

FIG. 14 is an example of a screen displayed on the information processing device.

FIG. 15 is an example of a screen displayed on the information processing device.

DESCRIPTION OF EXEMPLARY EMBODIMENTS

An embodiment is explained below with reference to the drawings.

First Embodiment

FIG. 1 is a diagram showing an overall configuration of a robot system in a first embodiment. FIGS. 2 to 13 are respectively diagrams showing examples of touch switches displayed on an information processing device. FIGS. 14 and 15 are respectively examples of screens displayed on the information processing device.

A robot system 1 shown in FIG. 1 includes a robot 2 including a multi-joint arm 21 and a hand 22 attached to the distal end of the multi-joint arm 21, a conveying device 3 including a belt conveyor 31 that conveys a workpiece W, a rotary beacon light 4 provided in the vicinity of the robot 2, and a robot control device 5 that controls driving of the robot 2, the conveying device 3, and the rotary beacon light 4. In such a robot system 1, the conveying device 3 conveys the workpiece W and the robot 2 applies necessary work to the workpiece W being conveyed. The robot system 1 notifies, with the rotary beacon light 4, a state of the robot 2 to an operator present around the robot system 1. However, the robot system 1 is not limited to this.

In such a robot system 1, it is necessary to teach the robot 2 work to be performed on the workpiece W. An information processing device 6 functioning as a teaching pendant is used to perform this teaching work. The information processing device 6 is coupled to the robot control device 5 and used during the teaching work. A coupling method to the robot control device 5 may be any method irrespective of whether the method is a wired or wireless method.

The information processing device 6 includes a housing 61, a display section 62 functioning as a screen, and a control device 63 housed in the housing 61. The control device 63 is configured from, for example, a computer and includes a processor that processes information, a memory communicably coupled to the processor, and an external interface that performs communication with the robot control device 5. Various programs executable by the processor are stored in the memory. The processor reads and executes the various programs and the like stored in the memory. In particular, in the control device 63, a software switch program Psw for controlling a touch switch 7 explained below is included as one of the programs.

The control device 63 executes the software switch program Psw to thereby display, on the display section 62, a GUI (graphic user interface) including the touch switch 7 operable by a user, receives an input from the user with the touch switch 7, and executes processing corresponding to the input. The information processing device 6 has a major characteristic in the shape of the touch switch 7. Therefore, the touch switch 7 is mainly explained below.

As shown in FIG. 2, the touch switch 7 included in the GUI includes a knob 71 and a guide 72 showing a moving path of the knob 71. “OFF”, which is a first choice 731, is disposed on one end side of the guide 72. “ON”, which is a second choice 732, is disposed on the other end side. The knob 71 selects the first choice 731 in an initial state, that is, an un-input state. “OFF”, which is the first choice 731, and “ON”, which is the second choice 732, are in an exclusive relation with each other. That is, selection of the second choice 732 is released if the first choice 731 is selected. Conversely, selection of the first choice 731 is released if the second choice 732 is selected. In the following explanation, for convenience of explanation, a state in which the knob 71 selects the first choice 731 is simply referred to as “OFF state” as well. A state in which the knob 71 selects the second choice 732 is simply referred to as “ON state”.

The guide 72 shows a moving path of the knob 71 from the first choice 731 to the second choice 732. The guide 72 has a substantial L shape. The first choice 731 is disposed on one end side of the guide 72 and the second choice 732 is disposed on the other end side. Specifically, the guide 72 includes a first moving path 721 extending straight along a first direction X and a second moving path 722 extending straight along a second direction Y orthogonal to the first direction X. A terminal end of the first moving path 721 and a start end of the second moving path 722 are connected. The first choice 731 is disposed on a start end side of the first moving path 721. The second choice 732 is disposed on the terminal end side of the second moving path 722.

In the software switch program Psw, the touch switch 7 is switched from the OFF state to the ON state when the control device 63 receives, from the user, touch input operation T for “touching the knob 71 on the screen and sliding the knob 71 along the guide 72 to thereby move the knob 71 from the first choice 731 to the second choice 732”. Specifically, as shown in FIG. 3, the touch switch 7 is switched from the OFF state to the ON state when the touch switch 7 is in the OFF state and the control device 63 receives the touch input operation T including first touch input operation T1 for sliding the knob 71 from the start end to the terminal end along the first moving path 721 and a second touch input operation T2 for sliding the knob 71 from the start end to the terminal end along the second moving path 722 after the first touch input operation T1.

With such a touch switch 7, the touch switch 7 cannot be switched from the OFF state to the ON state unless the knob 71 is slid in order along directions different from each other. Therefore, it is possible to effectively suppress erroneous operation in which the user touches the touch switch 7 by some chance and a state of the touch switch 7 unintentionally accidentally switched (hereinafter simply referred to as “erroneous operation” as well). As a result, the switch 7 has less erroneous operation and high safety. In particular, as explained above, the terminal end of the first moving path 721 and the start end of the second moving path 722 are connected and the guide 72 is formed by one line. Therefore, it is possible to switch the state of the touch switch 7 by sliding the knob 71 with a single stroke along the guide 72. Therefore, the operation of the touch switch 7 is simplified. It is possible to reduce time and labor for the operation of the touch switch 7.

The touch switch 7 is switched from the ON state to the OFF state by, in the ON state, reversely performing the procedure of the touch input operation T explained above.

An angle θ1 formed by the first moving path 721 and the second moving path 722 is preferably 90° or less. In this embodiment, the angle θ1 is 90°. By setting the angle θ1 to 90° or less in this way, the guide 72 is formed in a shape greatly bent halfway in the guide 72. Therefore, a movement of the knob 71 necessary to switch the touch switch 7 from the OFF state to the ON state is not easily reproduced simply by touching the touch switch 7 by some chance. Therefore, it is possible to more effectively suppress erroneous operation of the touch switch 7. Not only this, but the angle θ1 may be larger than 90°.

When a touch on the knob 71 is released before the knob 71 reaches the second choice 732 from the first choice 731, that is, when a finger of the user is separated from the display section 62 halfway in the touch input operation T and the touch input operation T is suspended, the knob 71 moves to the first choice 731, that is, returns to the initial state. Therefore, to switch the touch switch 7 to the ON state, it is necessary to perform the touch input operation T again from the beginning. Consequently, it is possible to prevent the knob 71 from being gradually moved by an unconscious touch and reaching the second choice 732 soon. Therefore, it is possible to more effectively suppress erroneous operation of the touch switch 7. However, not only this, but, when the touch input operation T is suspended halfway, the knob 71 may stay in a position where the touch input operation T is suspended. The remaining touch input operation T may be able to be resumed from the position.

In the touch switch 7, a state of the guide 72 changes before and after passage of the knob 71. In this embodiment, a color of the guide 72 changes. For example, as shown in FIGS. 2 and 3, the entire guide 72 has an achromatic color in the OFF state. When the knob 71 moves on the guide 72 from the first choice 731 toward the second choice 732, a portion where the knob 71 passes changes to a chromatic color. In the ON state, the entire guide 72 changes to the chromatic color. With such a configuration, the user can easily check a state of the movement of the knob 71. The user can easily check, at a glance whether the touch switch 7 is in the OFF state or the ON state. The color of the guide 72 is not particularly limited. The knob 71 and the guide 72 may be colored in the same color. In this case, a boundary between the knob 71 and the guide 72 may not be displayed to display as if the knob 71 and the guide 72 are connected. The state change is not limited to the change of the color. For example, instead of or in addition to the color, the width of the guide 72 may change before and after the passage of the knob 71. Consequently, it is possible to exert the same effect as the effect of the color change. In this case, the guide 72 may be seen through the knob 71. However, the configuration of the touch switch 7 is not limited to this. The state of the guide 72 may not change before and after the passage of the knob 71.

The example of the touch switch 7 is explained above. However, the configuration of the touch switch 7 is not limited to this. For example, as shown in FIG. 4, the guide 72 may have a substantial V shape and the angle θ1 may be less than 90°. By setting the angle θ1 to less than 90° in this way, for example, the guide 72 has a shape more greatly bent halfway in the guide 72 compared with the touch switch 7 shown in FIGS. 2 and 3. Therefore, the movement of the knob 71 necessary to switch the touch switch 7 from the OFF state to the ON state is not easily reproduced simply by touching the touch switch 7 by some chance. Therefore, it is possible to effectively suppress erroneous operation of the touch switch 7. As shown in FIG. 5, the touch switch 7 may have a vertically inverted V shape. As shown in FIG. 6, the touch switch 7 may have a sideway V shape. With the touch switch 7 shown in FIGS. 4 and 5, it is possible to reduce the width of the touch switch 7. With the touch switch 7 shown in FIG. 6, it is possible to reduce the height of the touch switch 7.

For example, as shown in FIGS. 7, 8, and 9, the terminal end of the first moving path 721 and the start end of the second moving path 722 may be separated. The guide 72 may be formed by two lines. In this case, the touch switch 7 is switched from the OFF state to the ON state when the control device 63 receives the touch input operation T including the first touch input operation T1 for sliding the knob 71 on the first moving path 721 from the start end to the terminal end along the first moving path 721, operation for once separating the finger from the display section 62, and the second touch input operation T2 for sliding the knob 71 on the second moving path 722 from the start end to the terminal end along the second moving path 722. The touch switch 7 is switched from the OFF state to the ON state when the control device 63 receives the touch input operation T for simultaneously performing the first touch input operation T1 and the second touch input operation T2 in a manner of pinch-out and pinch-in used to enlarge and reduce a displayed image. With such a configuration as well, a movement of the knob 71 necessary to switch ON/OFF of the touch switch 7 is not easily reproduced simply by touching the touch switch 7 by some chance. Therefore, it is possible to more effectively suppress erroneous operation of the touch switch 7.

For example, as shown in FIG. 10, the guide 72 may have a substantial U shape. As shown in FIG. 11, the guide 72 may have a substantial Z shape. That is, the guide 72 may have a shape bent twice halfway. These guides 72 include the first moving path 721 extending straight along the first direction X, the second moving path 722 extending straight along the second direction Y, and a third moving path 723 extending straight along the opposite direction of the first direction X. The terminal end of the first moving path 721 and the start end of the second moving path 722 are connected. The terminal end of the second moving path 722 and a start end of the third moving path 723 are connected.

In this case, the touch switch 7 is switched from the OFF state to the ON state when the touch switch 7 is in the OFF state and the control device 63 receives the touch input operation T including the first touch input operation T1 for sliding the knob 71 from the start end to the terminal end along the first moving path 721, the second touch input operation T2 for sliding the knob 71 from the start end to the terminal end along the second moving path 722 after the first touch input operation T1, and third touch input operation T3 for sliding the knob 71 from a start end to a terminal end along the third moving path 723 after the second touch input operation T2.

With the guide 72 further including the third moving path 723 in addition to the first moving path 721 and the second moving path 722, the movement of the knob 71 necessary to switch ON/OFF of the touch switch 7 is more complicated and is not easily reproduced simply by touching the touch switch by some chance. Therefore, it is possible to more effectively suppress erroneous operation of the touch switch 7. In the touch switch 7 shown in FIGS. 10 and 11, the third moving path 723 extends along the opposite direction of the first direction X. However, a direction in which the third moving path 723 extends is not particularly limited if the direction is different from the second direction Y.

An angle θ2 formed by the second moving path 722 and the third moving path 723 is 90° or less like the angle θ1. In the touch switch 7 shown in FIG. 10, the angle θ2 is 90°. In the touch switch 7 shown in FIG. 11, the angle θ2 is less than 90°. By setting the angle θ2 to equal to or less than 90° in this way, the guide 72 is formed in a shape greatly bent halfway. Therefore, the movement of the knob 71 necessary to switch ON/OFF of the touch switch 7 is not easily reproduced simply by touching the touch switch 7 by some chance. Therefore, it is possible to more effectively suppress erroneous operation of the touch switch 7. However, the angle θ2 is not particularly limited and may be set larger than 90°.

For example, as shown in FIG. 12, the guide 72 may have a substantial O shape. As shown in FIG. 13, the guide 72 may have a substantial W shape. That is, the guide 72 may have a shape bent three times halfway. These guides 72 include the first moving path 721 extending straight along the first direction X, the second moving path 722 extending straight along the second direction Y, the third moving path 723 extending straight along the opposite direction of the first direction X, and a fourth moving path 724 extending straight along the opposite direction of the second direction Y. The terminal end of the first moving path 721 and the start end of the second moving path 722 are connected. The terminal end of the second moving path 722 and the start end of the third moving path 723 are connected. The terminal end of the third moving path 723 and a start end of the fourth moving path 724 are connected.

In this case, the touch switch 7 is switched from the OFF state to the ON state when the touch switch 7 is in the OFF state and the control device 63 receives the touch input operation T including the first touch input operation T1 for sliding the knob 71 from the start end to the terminal end along the first moving path 721, the second touch input operation T2 for sliding the knob 71 from the start end to the terminal end along the second moving path 722 after the first touch input operation T1, the third touch input operation T3 for sliding the knob 71 from the start end to the terminal end along the third moving path 723 after the second touch input operation T2, and fourth touch input operation T4 for sliding the knob 71 from a start end to a terminal end along the fourth moving path 724 after the third touch input operation T3.

With the guide 72 further including the fourth moving path 724 in addition to the first moving path 721, the second moving path 722, and the third moving path 723 in this way, the movement of the knob 71 necessary to switch ON/OFF of the touch switch 7 is more complicated and is not easily reproduced simply by touching the touch switch 7 by some chance. Therefore, it is possible to more effectively suppress erroneous operation of the touch switch 7. In the touch switch 7 shown in FIGS. 12 and 13, the third moving path 723 extends along the opposite direction of the first direction X. However, a direction in which the third moving path 723 extends is not particularly limited if the direction is different from the second direction Y. Similarly, the fourth moving path 724 extends along the opposite direction of the second direction Y. However, a direction in which the fourth moving path 724 extends is not particularly limited if the direction is different from the first direction X.

An angle θ3 formed by the third moving path 723 and the fourth moving path 724 is 90° or less like the angles θ1 and θ2. In the touch switch 7 shown in FIG. 12, the angle θ3 is 90°. In the touch switch 7 shown in FIG. 13, the angle θ3 is less than 90°. By setting the angle θ3 to 90° or less in this way, the guide 72 has a shape greatly bent halfway. Therefore, the movement of the knob 71 necessary to switch ON/OFF of the touch switch 7 is not easily reproduced simply by touching the touch switch 7 by some chance. Therefore, it is possible to more effectively suppress erroneous operation of the touch switch 7. However, the angle θ3 is not particularly limited and may be larger than 90°.

The guide 72 may further include a fifth moving path and a sixth moving path or more moving paths. As the number of moving paths is larger, that is, the number of times the guide 72 is bent halfway is larger, the movement of the knob necessary to switch ON/OFF of the touch switch 7 is complicated and is not easily reproduced simply by touching the touch switch 7 by some chance.

The control device 63 changes, based on the software switch program Psw, according to an operation corresponding to the touch switch 7, the number of moving paths included in the guide 72. Specifically, the control device 63 changes, according to a risk of the operation corresponding to the touch switch 7, the number of moving path included in the guide 72 and increases, as the risk is higher, the number of moving paths included in the guide 72. Consequently, it is possible to suppress erroneous operation of the touch switch 7 corresponding to an operation with a high risk.

For example, if the number of moving paths included in all the touch switches 7 is increased irrespective of a risk with priority given to safety, it is likely that difficulty of the touch input operation T increases and convenience of use of the information processing device 6 decreases. Conversely, if the number of moving paths included in all the touch switches 7 is reduced irrespective of a risk with priority given to convenience of use, it is likely that safety of the information processing device 6 decreases. Therefore, by increasing the number of moving paths included in the guide 72 as the risk of the corresponding operation is higher as explained above, the touch input operation T is simplified for the touch switch 7 corresponding to a safe operation and the touch input operation T is complicated for the touch switch 7 corresponding to a dangerous operation. Therefore, it is possible to achieve both of the safety and the convenience of use.

In the following explanation, the touch switch 7 shown in FIG. 2 is referred to as touch switch 7A1 as well, the touch switch 7 shown in FIG. 4 is referred to as touch switch 7A2 as well, the touch switch 7 shown in FIG. 10 is referred to as touch switch 7B1 as well, the touch switch 7 shown in FIG. 11 is referred to as touch switch 7B2 as well, the touch switch 7 shown in FIG. 12 is referred to as touch switch 7C1 as well, and the touch switch 7 shown in FIG. 13 is referred to as touch switch 7C2 as well. Among these touch switches 7A1 to 7C2, the touch switches 7A1 and 7A2 in which the guide 72 includes two moving paths is classified into a switch group corresponding to an operation with a risk “low”, the touch switches 7B1 and 7B2 in which the guide 72 includes three moving paths are classified into a switch group corresponding to an operation with a risk “medium”, and the touch switches 7C1 and 7C2 in which the guide 72 includes four moving paths are classified into a switch group corresponding to an operation with a risk “high”.

An example is explained below. In the robot system 1 shown in FIG. 1, the information processing device 6 is coupled to the robot control device 5 and the robot control device 5 is coupled to the robot 2, the conveying device 3, and the rotary beacon light 4. The information processing device 6 can control driving of the robot 2, the conveying device 3, and the rotary beacon light 4 via the robot control device 5. In the following explanation, for convenience of explanation, driving of the hand 22 is controlled for the robot 2, driving of the belt conveyor 31 is controlled for the conveying device 3, and lighting of the rotary beacon light 4 is controlled for the rotary beacon light 4.

Among the driving of the hand 22, the driving of the belt conveyor 31, and the lighting of the rotary beacon light 4, an operation with the lowest risk is the lighting of the rotary beacon light 4. Conversely, operation with the highest risk is the driving of the belt conveyor 31. That is, the risks are in a relation of the lighting of the rotary beacon light 4<the driving of the hand 22<the driving of the belt conveyor 31.

Based on the software switch program Psw, as shown in FIG. 14, the control device 63 displays any touch switch 7A1 selected out of the switch group with the risk “low” as the touch switch 7 corresponding to the lighting of the rotary beacon light 4, displays any touch switch 7B1 selected out of the switch group with the risk “medium” as the touch switch 7 corresponding to the driving of the hand 22, and displays any touch switch 7C1 selected out of the switch group with the risk “high” as the touch switch 7 corresponding to the driving of the belt conveyor 31.

By increasing the number of moving paths included in the guide 72 as the risk of the corresponding operation is higher in this way, it is possible to achieve both of the safety and the convenience of use. With the shape of the touch switch 7, it is possible to notify a risk of an operation corresponding to the touch switch 7 to the user. In other words, the user can intuitively grasp that a risk of an operation is higher as the shape of the guide 72 is more complicated (the number of moving paths is larger).

The control device 63 may determine, based on the software switch program Psw, a risk of operation corresponding to the touch switch 7. For example, as shown in FIG. 15, the user may be able to set the risk.

The control device 63 switches, at random, based on the software switch program Psw, the shapes of the touch switches 7 corresponding to operations. Specifically, the control device 63 selects, out of the touch switches 7 belonging to a switch group of the same risk, the touch switch 7 having the shape of the guide 72 different from the shape of the guide 72 of the touch switch 7 displayed last time and displays the touch switch 7.

The touch switch 7 corresponding to the driving of the belt conveyor 31 is explained with reference to an example. When the touch switch 7C1 is displayed in the n-th time (n is a natural number), the touch switch 7C2 having the shape of the guide 72 different from the shape of the guide 72 of the touch switch 7C1 and belonging to the switch group of the same risk is displayed in the immediately following n+1-th time. By not continuously displaying the touch switches 7 having the same shape in this way, it is possible to prevent the user from memorizing the shape of the touch switch 7 corresponding to the driving of the belt conveyor 31. The user less easily gets accustomed to the touch input operation T. Therefore, safety of the information processing device 6 is further improved.

The robot system 1 is explained above. As explained above, the software switch program Psw for the information processing device 6 causes the display section 62 to display the touch switch 7 including the knob 71 that is in the state in which the knob 71 selects, of the first choice 731 and the second choice 732 that are in the exclusive relation, the first choice 731 and the guide 72 showing the moving path of the knob 71 from the first choice 731 to the second choice 732 and including the first moving path 721 extending along the first direction X and the second moving path 722 extending along the second direction Y different from the first direction X and, when receiving the first touch input operation T1 for sliding the knob 71 with respect to the guide 72 along the first moving path 721 and the second touch input operation T2 for sliding the knob 71 along the second moving path 722, switching the state of the knob 71 to the state in which the knob 71 selects the second choice 732. With such a touch switch 7, the touch switch 7 cannot be switched from the OFF state to the ON state unless the knob 71 is slid in order along directions different from each other. Therefore, it is possible to effectively suppress erroneous operation of the touch switch 7. As a result, the touch switch 7 has less erroneous operation and high safety.

In this embodiment, the knob 71 is slid with respect to the guide 72. Conversely, the guide 72 may be slid with respect to the knob 71. That is, one of the knob 71 and the guide 72 only has to be slid with respect to the other.

As explained above, the terminal end of the first moving path 721 and the start end of the second moving path 722 are separated (see, for example, FIG. 8). With such a configuration, the movement of the knob 71 necessary to switch ON/OFF of the touch switch 7 is not easily reproduced simply by touching the touch switch 7 by some chance. Therefore, it is possible to more effectively suppress erroneous operation of the touch switch 7.

As explained above, the terminal end of the first moving path 721 and the start end of the second moving path 722 are connected (see, for example, FIG. 2). With such a configuration, the movement of the knob 71 necessary to switch ON/OFF of the touch switch 7 is not easily reproduced simply by touching the touch switch 7 by some chance. Therefore, it is possible to more effectively suppress erroneous operation of the touch switch 7. In particular, since the guide 72 is formed by one line, it is possible to switch the state of the touch switch 7 by sliding the knob 71 with a single stroke along the guide 72. Therefore, the operation of the touch switch 7 is simplified. It is possible to reduce time and labor for the operation of the touch switch 7.

As explained above, in the software switch program Psw, when a touch on the knob 71 is released before the knob 71 reaches the second choice 732, the knob 71 moves to the first choice 731. That is, when the finger of the user is separated from the display section 62 halfway in the touch input operation T and the touch input operation T is suspended, the knob 71 moves to the first choice 731. Therefore, to switch the touch switch 7 to the ON state, it is necessary to perform the touch input operation T again from the beginning. Consequently, it is possible to prevent the knob 71 from being gradually moved by an unconscious touch and reaching the second choice 732 soon. Therefore, it is possible to more effectively suppress erroneous operation of the touch switch 7.

As explained above, the angle θ1 formed by the first moving path 721 and the second moving path 722 is 90° or less. Consequently, the guide 72 has a shape greatly bent halfway in the guide 72. Therefore, the movement of the knob 71 necessary to switch ON/OFF of the touch switch 7 is not easily reproduced simply by touching the touch switch 7 by some chance. Therefore, it is possible to more effectively suppress erroneous operation of the touch switch 7.

As explained above, the software switch program Psw displays, on the display section 62, the touch switch 7 having the shape of the guide 72 different from the shape of the guide 72 of the touch switch 7 displayed last time. By not continuously displaying the touch switches 7 having the same shape in this way, it is possible to prevent the user from memorizing the shape of the touch switch 7 corresponding to a predetermined operation. The user less easily gets accustomed to the touch input operation T. Therefore, safety of the information processing device 6 is further improved.

As explained above, the guide 72 further includes the third moving path 723 extending along the direction different from the second direction Y. When receiving the third touch input operation T3 for sliding the guide 72 along the third moving path 723 after the second touch input operation T2, the software switch program Psw switches the state of the knob 71 to the state in which the knob 71 selects the second choice 732. Consequently, the movement of the knob 71 necessary to switch ON/OFF of the touch switch 7 is more complicated and is not easily reproduced simply by touching the touch switch 7 by some chance. Therefore, it is possible to more effectively suppress erroneous operation of the touch switch 7.

As explained above, the software switch program Psw changes, according to the operation corresponding to the touch switch 7, the number of moving paths included in the guide 72. Consequently, it is possible to achieve both of safety and convenience of use of the information processing device 6.

As explained above, the software switch program Psw changes the color of the guide 72 before and after the passage of the knob 71. With such a configuration, the user can easily check a state of the movement of the knob 71. The user can easily check, at a glance, whether the touch switch 7 is in the OFF state or the ON state.

As explained above, the choice selection method realized by the software switch program Psw includes causing the display section 62 to display the touch switch 7 including the knob 71 that is in the state in which the knob 71 selects, of the first choice 731 and the second choice 732 that are in the exclusive relation, the first choice 731 and the guide 72 showing the moving path of the knob 71 from the first choice 731 to the second choice 732 and including the first moving path 721 extending along the first direction X and the second moving path 722 extending along the second direction Y different from the first direction X and, when receiving the first touch input operation T1 for sliding one of the knob 71 and the guide 72 with respect to the other along the first moving path 721 and the second touch input operation T2 for sliding the one of the knob 71 and the guide 72 along the second moving path 722, switching the state to the state in which the knob 71 selects the second choice 732. With such a choice selection method, the touch switch 7 cannot be switched from the OFF state to the ON state unless the knob 71 is slid in order along directions different from each other. Therefore, it is possible to effectively suppress erroneous operation of the touch switch 7. As a result, the choice selection method has less erroneous operation and high safety.

As explained above, the information processing device 6 coupled to the robot 2 includes the control device 63 configured to display, on the display section 62, the touch switch 7 including the knob 71 that is in the state in which the knob 71 selects, of the first choice 731 and the second choice 732 that are in the exclusive relation, the first choice 731 and the guide 72 showing the moving path of the knob 71 from the first choice 731 to the second choice 732 and including the first moving path 721 extending along the first direction X and the second moving path 722 extending along the second direction Y different from the first direction X and, when receiving the first touch input operation T1 for sliding one of the knob 71 and the guide 72 with respect to the other along the first moving path 721 and the second touch input operation T2 for sliding the one of the knob 71 and the guide 72 along the second moving path 722, switch the state to the state in which the knob 71 selects the second choice 732. With such an information processing device 6, the touch switch 7 cannot be switched from the OFF state to the ON state unless the knob 71 is slid in order along directions different from each other. Therefore, it is possible to effectively suppress erroneous operation of the touch switch 7. As a result, the information processing device 6 has less erroneous operation and high safety.

The software switch program, the choice selection method, and the information processing device according to the present disclosure are explained above based on the embodiments. However, the present disclosure is not limited to this. The components of the sections can be replaced with any components having the same functions. Any other components may be added to the present disclosure. In the embodiment explained above, an example is explained in which the information processing device 6 is coupled to the robot 2 and used. However, a target to which the information processing device 6 is coupled is not limited to the robot 2.

In the embodiment explained above, the first moving path 721, the second moving path 722, the third moving path 723, and the fourth moving path 724 respectively extend straight along the predetermined directions. However, the first moving path 721, the second moving path 722, the third moving path 723, and the fourth moving path 724 are not limited to this and may extend along the predetermined directions when viewed as a whole. For example, the first moving path 721, the second moving path 722, the third moving path 723, and the fourth moving path 724 may extend while curving or meandering along the predetermined directions. 

What is claimed is:
 1. A non-transitory computer-readable medium storing a software switch program for: causing a display section to display a touch switch including a knob that is in a state in which the knob selects, of a first choice and a second choice that are in an exclusive relation, the first choice and a guide showing a moving path of the knob from the first choice to the second choice and including a first moving path extending along a first direction and a second moving path extending along a second direction different from the first direction; and when receiving first touch input operation for sliding one of the knob and the guide with respect to another along the first moving path and second touch input operation for sliding the one of the knob and the guide along the second moving path, switching the state to a state in which the knob selects the second choice.
 2. The non-transitory computer-readable medium according to claim 1, wherein a terminal end of the first moving path and a start end of the second moving path are separated.
 3. The non-transitory computer-readable medium according to claim 1, wherein a terminal end of the first moving path and a start end of the second moving path are connected.
 4. The non-transitory computer-readable medium according to claim 3, wherein, when a touch on the knob is released before the knob reaches the second choice, the knob moves to the first choice.
 5. The non-transitory computer-readable medium according to claim 3, wherein an angle formed by the first moving path and the second moving path is 90° or less.
 6. The non-transitory computer-readable medium according to claim 1, wherein the software switch program displays, on the display section, a touch switch including a guide having a shape different from a shape of the guide of the touch switch displayed last time.
 7. The non-transitory computer-readable medium according to claim 1, wherein the guide further includes a third moving path extending along a direction different from the second direction, and when receiving third touch input operation for sliding one of the knob and the guide along the third moving path after the second touch input operation, the software switch program switches the state to a state in which the knob selects the second choice.
 8. The non-transitory computer-readable medium according to claim 7, wherein the software switch program changes, according to an operation corresponding to the touch switch, a number of moving paths included in the guide.
 9. The non-transitory computer-readable medium according to claim 1, wherein the software switch program changes a color of the guide when the knob passes.
 10. A choice selection method comprising: causing a display section to display a touch switch including a knob that is in a state in which the knob selects, of a first choice and a second choice that are in an exclusive relation, the first choice and a guide showing a moving path of the knob from the first choice to the second choice and including a first moving path extending along a first direction and a second moving path extending along a second direction different from the first direction; and when receiving first touch input operation for sliding one of the knob and the guide with respect to another along the first moving path and second touch input operation for sliding the one of the knob and the guide along the second moving path, switching the state to a state in which the knob selects the second choice.
 11. An information processing device coupled to a robot, the information processing device comprising a control device configured to display, on a display section, a touch switch including a knob that is in a state in which the knob selects, of a first choice and a second choice that are in an exclusive relation, the first choice and a guide showing a moving path of the knob from the first choice to the second choice and including a first moving path extending along a first direction and a second moving path extending along a second direction different from the first direction and, when receiving first touch input operation for sliding one of the knob and the guide with respect to another along the first moving path and second touch input operation for sliding the one of the knob and the guide along the second moving path, switch the state to a state in which the knob selects the second choice. 